//using System;
//using Caramel;

//namespace Caramel.NHibernate
//{
//    public class NHibernateTransation : ITransaction
//    {
//        internal NHibernateTransation(global::NHibernate.ITransaction transaction)
//        {
//            this.Transaction = transaction;
//        }

//        public global::NHibernate.ITransaction Transaction { get; private set; }

//        #region ITransaction Members

//        public void Commit()
//        {
//            this.Transaction.Commit();
//        }

//        public void Rollback()
//        {
//            this.Transaction.Rollback();
//        }

//        #endregion

//        #region IDisposable Members

//        public void Dispose()
//        {
//            this.Transaction.Dispose();
//            this.Transaction = null;
//        }

//        #endregion
//    }
//}
